export const RussianLogo: (props: { fill: string | undefined; }) => JSX.Element = (props) => (
    <svg width="639" height="160" viewBox="0 0 639 160" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M43.6754 0H0V43.6754H43.6754V0Z" fill="#40BA21"/>
        <path d="M160.074 0H116.414V116.339H101.86V0H58.1993V159.985H94.5684V160H138.244V159.985H160.074V0Z"
              fill="#40BA21"/>
        <path d="M43.6754 58.1548H0V159.985H43.6754V58.1548Z" fill="#40BA21"/>
        <path
            d="M251.787 28.3581L235.89 57.911C234.361 60.756 232.512 62.9076 230.342 64.3657C228.209 65.8238 225.879 66.5528 223.354 66.5528C221.398 66.5528 219.371 66.1261 217.273 65.2725L219.353 58.7112C220.847 59.1735 222.092 59.4046 223.088 59.4046C224.154 59.4046 225.115 59.1557 225.968 58.6578C226.822 58.1244 227.604 57.3064 228.315 56.204L228.635 55.7772L213.912 28.3581H223.141L233.063 48.4157L243.305 28.3581H251.787Z"
            fill={props.fill}/>
        <path
            d="M290.141 28.3581V65.6993H281.499V50.3894H264.535V65.6993H255.894V28.3581H264.535V43.0812H281.499V28.3581H290.141Z"
            fill={props.fill}/>
        <path
            d="M299.497 28.3581H308.085V52.6832L325.902 28.3581H334.01V65.6993H325.475V41.4275L307.658 65.6993H299.497V28.3581Z"
            fill={props.fill}/>
        <path
            d="M369.18 46.2285C371.456 46.9042 373.199 48.0067 374.408 49.5359C375.617 51.0651 376.221 52.9499 376.221 55.1904C376.221 58.4978 374.959 61.0761 372.434 62.9254C369.945 64.7747 366.371 65.6993 361.712 65.6993H343.308V28.3581H360.698C365.037 28.3581 368.415 29.1938 370.834 30.8653C373.252 32.5367 374.461 34.9195 374.461 38.0135C374.461 39.8627 373.999 41.4986 373.074 42.9212C372.15 44.3081 370.851 45.4106 369.18 46.2285ZM351.896 43.828H359.951C361.836 43.828 363.259 43.4546 364.219 42.7078C365.179 41.9254 365.659 40.7874 365.659 39.2937C365.659 37.8356 365.161 36.7154 364.166 35.933C363.205 35.1506 361.801 34.7594 359.951 34.7594H351.896V43.828ZM361.392 59.298C365.446 59.298 367.473 57.6976 367.473 54.4969C367.473 51.403 365.446 49.856 361.392 49.856H351.896V59.298H361.392Z"
            fill={props.fill}/>
        <path
            d="M411.969 58.7645V65.6993H383.056V28.3581H411.275V35.2929H391.644V43.4013H408.981V50.1227H391.644V58.7645H411.969Z"
            fill={props.fill}/>
        <path
            d="M435.112 28.3581C438.42 28.3581 441.282 28.9093 443.701 30.0118C446.155 31.1142 448.039 32.679 449.355 34.7061C450.671 36.7332 451.329 39.1337 451.329 41.9076C451.329 44.646 450.671 47.0465 449.355 49.1091C448.039 51.1362 446.155 52.701 443.701 53.8035C441.282 54.8704 438.42 55.4038 435.112 55.4038H427.591V65.6993H418.949V28.3581H435.112ZM434.632 48.3623C437.228 48.3623 439.202 47.8111 440.553 46.7086C441.905 45.5706 442.58 43.9703 442.58 41.9076C442.58 39.8094 441.905 38.2091 440.553 37.1066C439.202 35.9686 437.228 35.3996 434.632 35.3996H427.591V48.3623H434.632Z"
            fill={props.fill}/>
        <path
            d="M475.208 66.3394C471.403 66.3394 467.953 65.5215 464.859 63.8856C461.8 62.2141 459.382 59.9203 457.604 57.0041C455.861 54.0524 454.99 50.7273 454.99 47.0287C454.99 43.3301 455.861 40.0228 457.604 37.1066C459.382 34.1549 461.8 31.8611 464.859 30.2252C467.953 28.5537 471.42 27.718 475.261 27.718C478.497 27.718 481.414 28.287 484.01 29.425C486.641 30.563 488.846 32.1989 490.624 34.3327L485.077 39.4538C482.552 36.5376 479.422 35.0795 475.688 35.0795C473.376 35.0795 471.314 35.5952 469.5 36.6265C467.686 37.6223 466.264 39.027 465.232 40.8407C464.237 42.6544 463.739 44.7171 463.739 47.0287C463.739 49.3403 464.237 51.403 465.232 53.2167C466.264 55.0304 467.686 56.4529 469.5 57.4842C471.314 58.48 473.376 58.9779 475.688 58.9779C479.422 58.9779 482.552 57.502 485.077 54.5503L490.624 59.6714C488.846 61.8407 486.641 63.4944 484.01 64.6324C481.378 65.7704 478.444 66.3394 475.208 66.3394Z"
            fill={props.fill}/>
        <path
            d="M496.257 28.3581H504.845V52.6832L522.662 28.3581H530.771V65.6993H522.236V41.4275L504.419 65.6993H496.257V28.3581Z"
            fill={props.fill}/>
        <path d="M568.607 35.3996H556.658V65.6993H548.123V35.3996H536.227V28.3581H568.607V35.3996Z" fill={props.fill}/>
        <path
            d="M602.946 58.7645V65.6993H574.034V28.3581H602.253V35.2929H582.622V43.4013H599.959V50.1227H582.622V58.7645H602.946Z"
            fill={props.fill}/>
        <path d="M638.466 35.3996H626.517V65.6993H617.982V35.3996H606.086V28.3581H638.466V35.3996Z" fill={props.fill}/>
        <path
            d="M218.073 93.3315H226.662V117.657L244.479 93.3315H252.587V130.673H244.052V106.401L226.235 130.673H218.073V93.3315Z"
            fill={props.fill}/>
        <path
            d="M296.132 93.3315V130.673H287.49V115.363H270.526V130.673H261.884V93.3315H270.526V108.055H287.49V93.3315H296.132Z"
            fill={props.fill}/>
        <path
            d="M339.735 93.3315V130.673H331.093V115.363H314.129V130.673H305.487V93.3315H314.129V108.055H331.093V93.3315H339.735Z"
            fill={props.fill}/>
        <path
            d="M366.907 131.313C363.031 131.313 359.528 130.477 356.399 128.806C353.305 127.134 350.868 124.84 349.09 121.924C347.348 118.972 346.476 115.665 346.476 112.002C346.476 108.339 347.348 105.05 349.09 102.133C350.868 99.1816 353.305 96.87 356.399 95.1985C359.528 93.5271 363.031 92.6913 366.907 92.6913C370.784 92.6913 374.269 93.5271 377.363 95.1985C380.457 96.87 382.893 99.1816 384.671 102.133C386.449 105.05 387.338 108.339 387.338 112.002C387.338 115.665 386.449 118.972 384.671 121.924C382.893 124.84 380.457 127.134 377.363 128.806C374.269 130.477 370.784 131.313 366.907 131.313ZM366.907 123.951C369.112 123.951 371.104 123.453 372.882 122.458C374.66 121.426 376.047 120.004 377.043 118.19C378.074 116.376 378.59 114.314 378.59 112.002C378.59 109.69 378.074 107.628 377.043 105.814C376.047 104 374.66 102.596 372.882 101.6C371.104 100.569 369.112 100.053 366.907 100.053C364.703 100.053 362.711 100.569 360.933 101.6C359.155 102.596 357.75 104 356.719 105.814C355.723 107.628 355.225 109.69 355.225 112.002C355.225 114.314 355.723 116.376 356.719 118.19C357.75 120.004 359.155 121.426 360.933 122.458C362.711 123.453 364.703 123.951 366.907 123.951Z"
            fill={props.fill}/>
        <path d="M428.029 93.3315V130.673H419.441V100.373H402.584V130.673H393.996V93.3315H428.029Z" fill={props.fill}/>
        <path
            d="M455.103 131.313C451.227 131.313 447.724 130.477 444.594 128.806C441.5 127.134 439.064 124.84 437.286 121.924C435.543 118.972 434.672 115.665 434.672 112.002C434.672 108.339 435.543 105.05 437.286 102.133C439.064 99.1816 441.5 96.87 444.594 95.1985C447.724 93.5271 451.227 92.6913 455.103 92.6913C458.979 92.6913 462.465 93.5271 465.559 95.1985C468.653 96.87 471.089 99.1816 472.867 102.133C474.645 105.05 475.534 108.339 475.534 112.002C475.534 115.665 474.645 118.972 472.867 121.924C471.089 124.84 468.653 127.134 465.559 128.806C462.465 130.477 458.979 131.313 455.103 131.313ZM455.103 123.951C457.308 123.951 459.3 123.453 461.078 122.458C462.856 121.426 464.243 120.004 465.239 118.19C466.27 116.376 466.786 114.314 466.786 112.002C466.786 109.69 466.27 107.628 465.239 105.814C464.243 104 462.856 102.596 461.078 101.6C459.3 100.569 457.308 100.053 455.103 100.053C452.898 100.053 450.907 100.569 449.129 101.6C447.35 102.596 445.946 104 444.914 105.814C443.919 107.628 443.421 109.69 443.421 112.002C443.421 114.314 443.919 116.376 444.914 118.19C445.946 120.004 447.35 121.426 449.129 122.458C450.907 123.453 452.898 123.951 455.103 123.951Z"
            fill={props.fill}/>
        <path
            d="M514.436 93.3315V130.673H505.901V100.373H493.099L492.832 108.161C492.654 113.46 492.227 117.763 491.552 121.071C490.876 124.342 489.738 126.867 488.138 128.646C486.573 130.388 484.368 131.259 481.523 131.259C480.349 131.259 478.927 131.064 477.255 130.673L477.789 123.364C478.251 123.507 478.767 123.578 479.336 123.578C481.398 123.578 482.839 122.369 483.657 119.95C484.475 117.497 484.99 113.674 485.204 108.481L485.737 93.3315H514.436Z"
            fill={props.fill}/>
        <path
            d="M523.763 93.3315H532.351V117.657L550.168 93.3315H558.277V130.673H549.741V106.401L531.924 130.673H523.763V93.3315Z"
            fill={props.fill}/>
        <path
            d="M585.231 131.313C581.426 131.313 577.976 130.495 574.882 128.859C571.824 127.188 569.405 124.894 567.627 121.978C565.885 119.026 565.013 115.701 565.013 112.002C565.013 108.304 565.885 104.996 567.627 102.08C569.405 99.1283 571.824 96.8344 574.882 95.1985C577.976 93.5271 581.444 92.6913 585.284 92.6913C588.521 92.6913 591.437 93.2604 594.033 94.3984C596.665 95.5364 598.869 97.1723 600.648 99.3061L595.1 104.427C592.575 101.511 589.445 100.053 585.711 100.053C583.399 100.053 581.337 100.569 579.523 101.6C577.709 102.596 576.287 104 575.256 105.814C574.26 107.628 573.762 109.69 573.762 112.002C573.762 114.314 574.26 116.376 575.256 118.19C576.287 120.004 577.709 121.426 579.523 122.458C581.337 123.453 583.399 123.951 585.711 123.951C589.445 123.951 592.575 122.475 595.1 119.524L600.648 124.645C598.869 126.814 596.665 128.468 594.033 129.606C591.401 130.744 588.467 131.313 585.231 131.313Z"
            fill={props.fill}/>
    </svg>

)

export const EnglishLogo: (props: { fill: string | undefined; }) => JSX.Element = (props) => (
    <svg width="551" height="160" viewBox="0 0 551 160" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M43.6754 0H0V43.6754H43.6754V0Z" fill="#40BA21"/>
        <path d="M160.074 0H116.414V116.339H101.86V0H58.1993V159.985H94.5684V160H138.244V159.985H160.074V0Z"
              fill="#40BA21"/>
        <path d="M43.6754 58.1548H0V159.985H43.6754V58.1548Z" fill="#40BA21"/>
        <path d="M217.86 28.3581H226.502V65.6993H217.86V28.3581Z" fill={props.fill}/>
        <path
            d="M269.611 28.3581V65.6993H262.516L243.899 43.0279V65.6993H235.363V28.3581H242.512L261.076 51.0296V28.3581H269.611Z"
            fill={props.fill}/>
        <path
            d="M312.693 28.3581V65.6993H305.598L286.981 43.0279V65.6993H278.445V28.3581H285.594L304.158 51.0296V28.3581H312.693Z"
            fill={props.fill}/>
        <path
            d="M339.611 66.3395C335.735 66.3395 332.232 65.5037 329.102 63.8323C326.008 62.1608 323.572 59.867 321.794 56.9508C320.052 53.9991 319.18 50.6917 319.18 47.0287C319.18 43.3657 320.052 40.0761 321.794 37.16C323.572 34.2082 326.008 31.8966 329.102 30.2252C332.232 28.5537 335.735 27.718 339.611 27.718C343.488 27.718 346.973 28.5537 350.067 30.2252C353.161 31.8966 355.597 34.2082 357.375 37.16C359.153 40.0761 360.042 43.3657 360.042 47.0287C360.042 50.6917 359.153 53.9991 357.375 56.9508C355.597 59.867 353.161 62.1608 350.067 63.8323C346.973 65.5037 343.488 66.3395 339.611 66.3395ZM339.611 58.9779C341.816 58.9779 343.808 58.48 345.586 57.4843C347.364 56.4529 348.751 55.0304 349.747 53.2167C350.778 51.403 351.294 49.3403 351.294 47.0287C351.294 44.7171 350.778 42.6545 349.747 40.8407C348.751 39.027 347.364 37.6223 345.586 36.6265C343.808 35.5952 341.816 35.0795 339.611 35.0795C337.406 35.0795 335.415 35.5952 333.637 36.6265C331.859 37.6223 330.454 39.027 329.422 40.8407C328.427 42.6545 327.929 44.7171 327.929 47.0287C327.929 49.3403 328.427 51.403 329.422 53.2167C330.454 55.0304 331.859 56.4529 333.637 57.4843C335.415 58.48 337.406 58.9779 339.611 58.9779Z"
            fill={props.fill}/>
        <path
            d="M382.7 28.3581C386.008 28.3581 388.871 28.9093 391.289 30.0118C393.743 31.1142 395.628 32.679 396.943 34.7061C398.259 36.7332 398.917 39.1337 398.917 41.9076C398.917 44.646 398.259 47.0465 396.943 49.1092C395.628 51.1362 393.743 52.701 391.289 53.8035C388.871 54.8704 386.008 55.4038 382.7 55.4038H375.179V65.6993H366.537V28.3581H382.7ZM382.22 48.3623C384.816 48.3623 386.79 47.8111 388.141 46.7086C389.493 45.5706 390.169 43.9703 390.169 41.9076C390.169 39.8094 389.493 38.2091 388.141 37.1066C386.79 35.9686 384.816 35.3996 382.22 35.3996H375.179V48.3623H382.22Z"
            fill={props.fill}/>
        <path
            d="M423.692 66.3395C419.815 66.3395 416.312 65.5037 413.183 63.8323C410.089 62.1608 407.653 59.867 405.874 56.9508C404.132 53.9991 403.261 50.6917 403.261 47.0287C403.261 43.3657 404.132 40.0761 405.874 37.16C407.653 34.2082 410.089 31.8966 413.183 30.2252C416.312 28.5537 419.815 27.718 423.692 27.718C427.568 27.718 431.053 28.5537 434.147 30.2252C437.241 31.8966 439.677 34.2082 441.455 37.16C443.233 40.0761 444.122 43.3657 444.122 47.0287C444.122 50.6917 443.233 53.9991 441.455 56.9508C439.677 59.867 437.241 62.1608 434.147 63.8323C431.053 65.5037 427.568 66.3395 423.692 66.3395ZM423.692 58.9779C425.896 58.9779 427.888 58.48 429.666 57.4843C431.444 56.4529 432.831 55.0304 433.827 53.2167C434.858 51.403 435.374 49.3403 435.374 47.0287C435.374 44.7171 434.858 42.6545 433.827 40.8407C432.831 39.027 431.444 37.6223 429.666 36.6265C427.888 35.5952 425.896 35.0795 423.692 35.0795C421.487 35.0795 419.495 35.5952 417.717 36.6265C415.939 37.6223 414.534 39.027 413.503 40.8407C412.507 42.6545 412.009 44.7171 412.009 47.0287C412.009 49.3403 412.507 51.403 413.503 53.2167C414.534 55.0304 415.939 56.4529 417.717 57.4843C419.495 58.48 421.487 58.9779 423.692 58.9779Z"
            fill={props.fill}/>
        <path d="M450.617 28.3581H459.259V58.6578H477.983V65.6993H450.617V28.3581Z" fill={props.fill}/>
        <path d="M482.811 28.3581H491.453V65.6993H482.811V28.3581Z" fill={props.fill}/>
        <path
            d="M512.584 66.3395C509.633 66.3395 506.77 65.9483 503.996 65.1659C501.258 64.3479 499.053 63.2988 497.381 62.0185L500.315 55.5105C501.915 56.6841 503.818 57.6265 506.023 58.3378C508.228 59.049 510.433 59.4047 512.638 59.4047C515.092 59.4047 516.905 59.049 518.079 58.3378C519.252 57.5909 519.839 56.613 519.839 55.4038C519.839 54.5147 519.484 53.7857 518.772 53.2167C518.097 52.6121 517.208 52.132 516.105 51.7764C515.038 51.4207 513.58 51.0296 511.731 50.6028C508.886 49.9271 506.556 49.2514 504.743 48.5757C502.929 47.9 501.364 46.8153 500.048 45.3217C498.768 43.828 498.128 41.8365 498.128 39.3471C498.128 37.1777 498.715 35.2218 499.888 33.4792C501.062 31.701 502.822 30.2963 505.169 29.265C507.552 28.2336 510.451 27.718 513.865 27.718C516.247 27.718 518.577 28.0025 520.853 28.5715C523.129 29.1405 525.12 29.9584 526.827 31.0253L524.16 37.5867C520.711 35.6308 517.261 34.6528 513.811 34.6528C511.393 34.6528 509.597 35.044 508.424 35.8263C507.286 36.6087 506.717 37.6401 506.717 38.9203C506.717 40.2006 507.374 41.1608 508.69 41.8009C510.042 42.4055 512.087 43.0101 514.825 43.6147C517.67 44.2904 519.999 44.9661 521.813 45.6418C523.627 46.3175 525.174 47.3843 526.454 48.8424C527.77 50.3005 528.428 52.2743 528.428 54.7637C528.428 56.8975 527.823 58.8534 526.614 60.6316C525.44 62.3742 523.662 63.7611 521.28 64.7925C518.897 65.8238 515.998 66.3395 512.584 66.3395Z"
            fill={props.fill}/>
        <path
            d="M234.45 131.313C229.115 131.313 224.955 129.837 221.967 126.885C219.016 123.934 217.54 119.719 217.54 114.243V93.3315H226.181V113.923C226.181 120.608 228.955 123.951 234.503 123.951C237.206 123.951 239.269 123.151 240.691 121.551C242.114 119.915 242.825 117.372 242.825 113.923V93.3315H251.36V114.243C251.36 119.719 249.866 123.934 246.879 126.885C243.927 129.837 239.784 131.313 234.45 131.313Z"
            fill={props.fill}/>
        <path
            d="M294.147 93.3315V130.673H287.052L268.435 108.001V130.673H259.9V93.3315H267.048L285.612 116.003V93.3315H294.147Z"
            fill={props.fill}/>
        <path d="M302.982 93.3315H311.624V130.673H302.982V93.3315Z" fill={props.fill}/>
        <path
            d="M356.178 93.3315L340.015 130.673H331.48L315.369 93.3315H324.705L336.067 120.004L347.59 93.3315H356.178Z"
            fill={props.fill}/>
        <path
            d="M388.209 123.738V130.673H359.296V93.3315H387.515V100.266H367.884V108.375H385.221V115.096H367.884V123.738H388.209Z"
            fill={props.fill}/>
        <path
            d="M418.876 130.673L411.675 120.271H411.248H403.726V130.673H395.085V93.3315H411.248C414.555 93.3315 417.418 93.8827 419.837 94.9852C422.29 96.0876 424.175 97.6524 425.491 99.6795C426.807 101.707 427.465 104.107 427.465 106.881C427.465 109.655 426.789 112.055 425.438 114.083C424.122 116.074 422.237 117.603 419.783 118.67L428.158 130.673H418.876ZM418.716 106.881C418.716 104.783 418.041 103.182 416.689 102.08C415.338 100.942 413.364 100.373 410.768 100.373H403.726V113.389H410.768C413.364 113.389 415.338 112.82 416.689 111.682C418.041 110.544 418.716 108.944 418.716 106.881Z"
            fill={props.fill}/>
        <path
            d="M446.581 131.313C443.629 131.313 440.766 130.922 437.992 130.139C435.254 129.321 433.049 128.272 431.378 126.992L434.312 120.484C435.912 121.657 437.815 122.6 440.02 123.311C442.224 124.022 444.429 124.378 446.634 124.378C449.088 124.378 450.902 124.022 452.075 123.311C453.249 122.564 453.836 121.586 453.836 120.377C453.836 119.488 453.48 118.759 452.769 118.19C452.093 117.585 451.204 117.105 450.102 116.75C449.035 116.394 447.577 116.003 445.727 115.576C442.882 114.9 440.553 114.225 438.739 113.549C436.926 112.873 435.361 111.789 434.045 110.295C432.765 108.801 432.125 106.81 432.125 104.32C432.125 102.151 432.711 100.195 433.885 98.4526C435.058 96.6744 436.819 95.2697 439.166 94.2383C441.549 93.207 444.447 92.6914 447.861 92.6914C450.244 92.6914 452.573 92.9759 454.849 93.5449C457.125 94.1139 459.117 94.9318 460.824 95.9987L458.157 102.56C454.707 100.604 451.257 99.6262 447.808 99.6262C445.39 99.6262 443.594 100.017 442.42 100.8C441.282 101.582 440.713 102.613 440.713 103.894C440.713 105.174 441.371 106.134 442.687 106.774C444.038 107.379 446.083 107.983 448.821 108.588C451.666 109.264 453.996 109.939 455.81 110.615C457.623 111.291 459.17 112.358 460.451 113.816C461.766 115.274 462.424 117.248 462.424 119.737C462.424 121.871 461.82 123.827 460.611 125.605C459.437 127.348 457.659 128.735 455.276 129.766C452.893 130.797 449.995 131.313 446.581 131.313Z"
            fill={props.fill}/>
        <path d="M468.329 93.3315H476.971V130.673H468.329V93.3315Z" fill={props.fill}/>
        <path d="M493.568 100.373H481.619V93.3315H514.159V100.373H502.21V130.673H493.568V100.373Z" fill={props.fill}/>
        <path
            d="M536.055 117.443V130.673H527.413V117.337L512.957 93.3315H522.132L532.108 109.922L542.083 93.3315H550.565L536.055 117.443Z"
            fill={props.fill}/>
    </svg>


)

export const Logo: (props: { fill: string | undefined; lang: string | undefined }) => JSX.Element = (props) => {
    if (props.lang === "en")
        return <EnglishLogo fill={props.fill}/>;
    return <RussianLogo fill={props.fill}/>;
};
